package com.datang.pet.mapper;

import com.datang.pet.pojo.MusicSearchRecord;
import com.datang.pet.pojo.MusicSearchRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MusicSearchRecordMapper {
    long countByExample(MusicSearchRecordExample example);

    int deleteByExample(MusicSearchRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(MusicSearchRecord record);

    int insertSelective(MusicSearchRecord record);

    List<MusicSearchRecord> selectByExample(MusicSearchRecordExample example);

    MusicSearchRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") MusicSearchRecord record, @Param("example") MusicSearchRecordExample example);

    int updateByExample(@Param("record") MusicSearchRecord record, @Param("example") MusicSearchRecordExample example);

    int updateByPrimaryKeySelective(MusicSearchRecord record);

    int updateByPrimaryKey(MusicSearchRecord record);
}